<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%@include file="/static/common/common.jsp"%>
    <script type="text/javascript" src="/static/js/chart/chart.js"></script>
    <script src="/static/plugins/artDialog/jquery.artDialog.js?skin=black"></script>
    <script src="/static/plugins/artDialog/iframeTools.js"></script>
    <script src="/static/plugins/artDialog/iframeTools.js"></script>
</head>
<body>
<div id="buttons">
    <a>所在班级</a><a id="keyClassName" name="keyClassName" class="easyui-combobox" data-options="panelHeight:'auto',
                             data:[
        {id:'keyClassName',text:'所有',value:''},
        {id:'keyClassName',text:'扣丁狼21期',value:'扣丁狼21期'},
        {id:'keyClassName',text:'扣丁狼22期',value:'扣丁狼22期'},
        {id:'keyClassName',text:'神经病班21期',value:'神经病班21期'},
        {id:'keyClassName',text:'ios20期',value:'ios20期'},
        {id:'keyClassName',text:'ui19期',value:'ui19期'},
        {id:'keyClassName',text:'修仙院1期',value:'修仙院1期'}
    ]" name="class"/>
    <a>入学时间</a><a name="startDate" id="startDate" class="easyui-datebox"/>
    <a name="stopDate" id="stopDate" class="easyui-datebox"/>
    <a id="keyWord" name="keyWord" class="easyui-textbox" data-options="prompt:'学员名称'"/>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-query',plain:true" data-click="query"/><a>查询</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-refresh',plain:true" data-click="refresh"/><a>刷新</a>
    <input type="button" value="柱状图" class="ui_input_btn01 bar" data-url="/chart/saleByBar.do"/>
    <input type="button" value="饼状图" class="ui_input_btn01 pic" data-url="/chart/saleByPic.do"/>
</div>
<script>
    $(".bar").click(function () {
        var url=$(this).data("url")
        $.dialog.open(url,{
            width:"90%",
            height:"90%",
            left:"50%",
            top:"50%",
            lock:true,
            resize:false
        },false)
    })
    $(".pic").click(function () {
        var url=$(this).data("url")
        $.dialog.open(url,{
            width:"90%",
            height:"90%",
            left:"50%",
            top:"50%",
            lock:true,
            resize:false
        },false)
    })
</script>
<div id="chartData">

</div>
</body>
</html>
